package com.example.bilibili.mapper;

import com.example.bilibili.domain.BiliUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.bilibili.domain.uservo;
import com.example.bilibili.domain.videovo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

/**
* @author 86158
* @description 针对表【bili_user】的数据库操作Mapper
* @createDate 2022-09-05 10:49:06
* @Entity com.example.bilibili.domain.BiliUser
*/
@Mapper
public interface BiliUserMapper extends BaseMapper<BiliUser> {
    @Select("SELECT useravatar, userauthor, userautograph FROM bili_user  where userId=#{userid} ")
    uservo getuserstate(Long userid);

}




